package com.entity;

/**
 * 条件类  参与查询的条件 需要的字段名 操作符   值1  值2
 */
public class Condition {
    String fdName;
    String op;
    String value;
    String value2;

    public Condition() {
    }

    public Condition(String fdName, String op, String value, String value2) {
        this.fdName = fdName;
        this.op = op;
        this.value = value;
        this.value2 = value2;
    }

    public Condition(String fdName, String op, String value) {
        this.fdName = fdName;
        this.op = op;
        this.value = value;
    }

    public String getFdName() {
        return fdName;
    }

    public void setFdName(String fdName) {
        this.fdName = fdName;
    }

    public String getOp() {
        return op;
    }

    public void setOp(String op) {
        this.op = op;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getValue2() {
        return value2;
    }

    public void setValue2(String value2) {
        this.value2 = value2;
    }
}
